<local:DocumentBase x:Class="WPFExcelReport.SXNVA06"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
                    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART"  
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                    xmlns:VKK="clr-namespace:WPFExcelReport;assembly=TVKKOPF"  
                    xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT" 
                    FontSize="12" 
                    Name="TV"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </local:DocumentBase.Resources>

    <DockPanel>
        <ex:AniScrollViewer DockPanel.Dock="Right"  
                            Visibility="{Binding IsShowRight,ElementName=TV,Converter={StaticResource bv}}"
                            >
        </ex:AniScrollViewer>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <VA:TPFVA06 Grid.Row="0"  Grid.Column="0" Grid.ColumnSpan="2" 
                     Name="cMaster" 
                        IsSameProdArt="False" 
                       IsShowRight="{Binding IsShowRight,ElementName=TV}"
                    ARTST="F"/>
            <Expander IsExpanded="False" ExpandDirection="Down" Grid.Row="1"  Grid.Column="1">
                <Expander.Header>
                    <WrapPanel>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=供应商信息}}"/>
                        <TextBlock Text="{Binding INFO,ElementName=cLS}"/>
                    </WrapPanel>
                </Expander.Header>
                <LS:TLS03  Name="cLS"
                            ORDERNUM="{Binding LIEFNR,ElementName=cMaster}"/>
            </Expander>
            <Expander IsExpanded="False" ExpandDirection="Down" Grid.Row="1"  Grid.Column="0">
                <Expander.Header>
                    <WrapPanel>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=阶段价格:}}"></TextBlock>
                        <TextBlock Text="{Binding INFO,ElementName=cVZB}"></TextBlock>
                    </WrapPanel>
                </Expander.Header>
                <StackPanel>
                    <VKK:TVKKPR Grid.Row="0"  Name="cVZB"
                            KRS="VA"
                            VKKSA="  "
                            IsAuto="True"  
                            ORDERNUM="{Binding VAPR,ElementName=cMaster}"/>
                </StackPanel>
            </Expander>
        </Grid>
    </DockPanel>
</local:DocumentBase>
    
